<div class="main-hook operateLogs-main-hook">
    <span @click.stop="emitPage" class="emit-page-hook"></span>
    <span @click.stop="prePage" class="pre-page-hook"></span>
    <span @click.stop="refreshPage" class="refresh-page-hook"></span>
    <div class="box-wrapper box1-hook" v-show="boxs.box1.show">
        <div class="operateLogs-wrapper operateLogs-hook">
            <div class="title">
                当前位置：日志中心&nbsp;->&nbsp;<span class="active">操作日志</span>
            </div>
            <%if(checkAuthority('account-query')){%>
            <form class="search form-hook">
                <div class="row">
                    <span class="search-label">日志类型</span>
                    <select class="form-control w120" name="logType">
                        <option value="">全部</option>
                        <option v-for="(logtype,id) in logType" :value="logtype.value" v-text="logtype.name"></option>
                    </select>
                    <span class="interval-lg"></span>
                    <span class="search-label">日志时间</span>
                    <div class="date-time-box">
                        <input placeholder="开始时间" class="search-input datetime" type="text" name="startDate" id="startdate">
                    </div>
                    <span class="interval-xs"></span>
                    <span>—</span>
                    <span class="interval-xs"></span>
                    <div class="date-time-box">
                        <input placeholder="结束时间" class="search-input datetime" type="text" name="endDate" id="enddate">
                    </div>
                    <span class="interval-lg"></span>
                    <button type="submit" class="btn btn-blue search-hook">查询</button>
                    <span class="interval-xs"></span>
                    <button type="reset" class="btn btn-gray resert">清空</button>
                </div>
            </form>
            <%}%>
            <%if(checkAuthority('account-customer-create')){%>
            <div class="order_operation_btn">
                <button type="button" class="primary_btn" @click.stop="clearLogs()">清理日志</button>
            </div>
            <%}%>
            <div class="custom-table-wrapper">
                <table class="custom-table operateLogs-table-hook"></table>
            </div>
        </div>
    </div>
    <div class="box-wrapper box2-hook" v-show="boxs.box2.show"></div>
    <div class="box-wrapper box3-hook" v-show="boxs.box3.show"></div>
    <div class="box-wrapper box4-hook" v-show="boxs.box4.show"></div>
</div>
<script type="text/javascript" src="js/back/logs-center/operate.js" custom></script>